//
//  imageTableViewCell.h
//  糗百——王桂敏
//
//  Created by 王桂敏 on 15/5/28.
//  Copyright (c) 2015年 lanouhn. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageModel.h"
#import <MediaPlayer/MediaPlayer.h>
#import "MoviePlayer.h"



@interface TableViewCell : UITableViewCell
@property (nonatomic,retain) UIButton *playButton;//视频播放按钮
@property (nonatomic,retain) NSString *user_id;
@property (nonatomic,retain) UIImageView *icon;//用户头像
@property (nonatomic,retain) UILabel *userName;//用户名
@property (nonatomic,retain) UILabel *contentLable;//消息内容
@property (nonatomic,retain) UIButton *forButton;//点赞按钮
@property (nonatomic,retain) UIButton *againstButton;//反对按钮
@property (nonatomic,retain) UIButton *commentButton;//评论按钮
@property (nonatomic,retain) UIButton *favButton;//其他按钮
@property (nonatomic,retain) UILabel *stateLable;//状态条
@property (nonatomic,retain) UIImageView *image;//图片展示视图
//@property (nonatomic,retain) MoviePlayer *movie;//视频对象
@property (nonatomic,retain) UIButton *userButton;//用户界面切换按钮
@property (nonatomic,retain) UIImageView *picImageView;//视频占位图片

/*本来想用单例方法的，但是单元格是重用机制，显示的单元格是多个，所以不能用单例实现*/
//声明一个配置方法，用于外界给单元格传值的接口
- (void)configureWithMessage:(MessageModel *)message;

@end

